<?php


namespace app\model\coach;


use app\model\user\UserModel;
use think\Model;

class CoachWithdrawRecordModel extends Model
{
    protected $name = 'coach_withdraw_record';
    protected $autoWriteTimestamp = true;

    public function user()
    {
        return $this->hasOne(UserCoachModel::class, 'id', 'user_id')->bind(['username', 'mobile']);
    }
}